/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class AcceptanceEnum extends StringEnum
{
    public static final String COMMERCE_VALUE = "0";
    public static final String BANK_VALUE = "1";
    public static final String BAN_VALUE = "2";
    public static final String CASHIER_VALUE = "3";
    public static final String CHECK_VALUE = "4";
    public static final String ESCORTSINGLE_VALUE = "5";

    public static final AcceptanceEnum commerce = new AcceptanceEnum("commerce", COMMERCE_VALUE);
    public static final AcceptanceEnum bank = new AcceptanceEnum("bank", BANK_VALUE);
    public static final AcceptanceEnum ban = new AcceptanceEnum("ban", BAN_VALUE);
    public static final AcceptanceEnum cashier = new AcceptanceEnum("cashier", CASHIER_VALUE);
    public static final AcceptanceEnum check = new AcceptanceEnum("check", CHECK_VALUE);
    public static final AcceptanceEnum escortSingle = new AcceptanceEnum("escortSingle", ESCORTSINGLE_VALUE);

    /**
     * construct function
     * @param String acceptanceEnum
     */
    private AcceptanceEnum(String name, String acceptanceEnum)
    {
        super(name, acceptanceEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AcceptanceEnum getEnum(String acceptanceEnum)
    {
        return (AcceptanceEnum)getEnum(AcceptanceEnum.class, acceptanceEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AcceptanceEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AcceptanceEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AcceptanceEnum.class);
    }
}